package com.mimaxueyuan.producer.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 此类用于模仿各种角色对应的业务请求，用于测试登陆后的业务权限验证
 */
@RestController
public class ResourceController {


    @RequestMapping("user1Call")
    public String user1Call(HttpServletRequest request){

        return "user1Call";
    }
    @RequestMapping("user2Call")
    public String user2Call(){
        return "user2Call";
    }
   
}
